import json
import unittest


def request_body(content):
    json_data = {"airNum": "1", "boxCount": "1", "contactName": "1", "containerModel": "1", "containerNumber": "1",
            "packageType": "1", "phoneNumber": "1", "productStorageList": [
            {"boxNumber": "1", "declareQuantity": "1", "expirationDate": "1", "perBoxQuantity": "1", "productId": "1"}],
            "remark": "1", "shippingType": "1", "street": "1", "totalAmount": "1", "totalTray": "1", "totalVolume": "1",
            "truckNum": "1", "volumeUnit": "1", "warehouseCode": "1", "weight": "1", "weightUnit": "1", "whsEta": "1"}
    json_str = json.dumps(json_data)
    print(type(json_str))

    app_secret = ""
    request_date_str = '2022-04-15: 21:00:00'
    a = json_str + app_secret + request_date_str
    print(a)


def MD5_test(content):

    hex_digits = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f']
    bt_input = bytes(hex_digits)
    pass

if __name__ == '__main__':

    MD5_test(11)